<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Estado de Pedidos</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/site/css/view.css" media="all">
<script type="text/javascript" src="<%=request.getContextPath() %>/site/js/view.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/site/js/calendar.js"></script>
<script type="text/javascript" >

</script>

</head>
<body id="main_body">
	<img id="top" src="<%=request.getContextPath() %>/site/images/top.png" alt="">
	<div id="form_container">
		<h1>
			<img alt="Inicio" src="<%=request.getContextPath() %>/site/images/logo.jpg">
		</h1>
		<form id="frmConsultaEstadoPedidos" class="appnitro" method="post"
		 action="<%=request.getContextPath()%>/PedidoController" >
		 	
			<div class="form_description">
				<h2>Mis Pedidos</h2>
				<p>Detalle del pedido ${request.codPed}</p>
				<a style="float: right;" href="<%=request.getContextPath() %>/index.jsp">Inicio</a>
			</div>
			<ol>
				<li class="">
					<display:table name="listaDetallePedido" uid="dets"  style="width:100%" >
						<display:column title="Nombre" value="${dets.producto.nombre}" ></display:column>
						<display:column title="Precio" value="${dets.producto.precio}"></display:column>
						<display:column title="Cantidad" value="${dets.producto.cantidadPedido}"></display:column>
						
					</display:table>
					
				</li>
			</ol>
		</form>
		<div id="footer">
			Generated by <a href="http://www.upc.edu.pe">Debuggers</a>
		</div>
	</div>
	<img id="bottom" src="<%=request.getContextPath() %>/site/images/bottom.png" alt="">
<script type="text/javascript">
</script>
</body>
</html>
